using System;
using System.Collections;
using System.Data;
using System.EnterpriseServices;
using PCSComUtils.Common;
using PCSComProduction.DCP.DS;
using PCSComUtils.PCSExc;
using System.Runtime.InteropServices;

namespace PCSComProduction.DCP.BO
{
	public class ProductionGroupBO //: IProductionGroupBO
	{		
		public ProductionGroupBO()
		{			
		}
		
		#region IObjectBO's members
		//[AutoComplete(true)]
		public void Add(object pObjectDetail)
		{
			throw new NotImplementedException();
		}
		
		//[AutoComplete(true)]
		public void Delete(object pObjectVO)
		{
			throw new NotImplementedException();
		}
		
		//[AutoComplete(true)]
		public object GetObjectVO(int pintID, string VOclass)
		{
			throw new NotImplementedException();
		}
		
		//[AutoComplete(true)]
		public void UpdateDataSet(DataSet pdstData)
		{
			PRO_PGProductDS dsProductGroup = new PRO_PGProductDS();
			dsProductGroup.UpdateDataSet(pdstData);
		}
		
		//[AutoComplete(true)]
		public void Update(object pObjectDetail)
		{
			throw new NotImplementedException();
		}
		#endregion IObjectBO's members

		#region ProductionLineBO's members
		
		/// <summary>
		/// Get list of Work center which belong to specific Production Line
		/// </summary>
		/// <param name="pintProductionLineID"></param>
		/// <returns></returns>
		//[AutoComplete(true)]
		public DataTable GetAllData()
		{
			PRO_PGProductDS dsProductGroup = new PRO_PGProductDS();
			return dsProductGroup.GetAllData();
		}		
		#endregion ProductionLineBO's members
	}
}
